package com.ushine.web.communication.netty.service.impl;

import com.ushine.web.communication.netty.proto.Message;
import com.ushine.web.communication.netty.service.INettyService;
import org.springframework.stereotype.Service;

/**
 * @Author: yls
 * @Date 2022/5/11 12:59
 * @Description: netty通信服务层
 * @Version 1.0
 **/
@Service
public class NettyServiceImpl implements INettyService {
    @Override
    public boolean checkSerialNumber(String ip, String serialNumber) {
        return false;
    }

    @Override
    public void regist(String serialNumber) {

    }

    @Override
    public void logOut(String serialNumber) {

    }

    @Override
    public void readData(Message.Instruction instruction) {

    }

    @Override
    public void sendVersion(String serialNumber) {

    }

    @Override
    public boolean sendData(String serialNumber, int contentId, int categoryId, int resourceId) {
        return false;
    }
}
